<?php


namespace app\common\service\auth;


interface AuthInterface
{
    /**
     * 初始化
     * @return mixed
     */
    public function attempt($params);

    /**
     * 登录
     * @param $params
     * @return mixed
     */
    public function login($params);

    public function id();
    public function user();


}